﻿@page "/browser-finger"
@inject IStringLocalizer<BrowserFingers> Localizer

<DemoBlock Title="@Localizer["BrowserFingerTitle"]" Introduction="@Localizer["BrowserFingerIntro"]" ShowCode="false" Name="BrowserFinger">
    <Pre>[Inject]
[NotNull]
private IBrowserFingerService? BrowserFingerService { get; set; }

private async Task GetFingerCodeAsync()
{
    await BrowserFingerService.GetFingerCodeAsync();
}</Pre>
    <BootstrapInputGroup>
        <BootstrapInputGroupLabel DisplayText="Browser-Finger"></BootstrapInputGroupLabel>
        <BootstrapInput Value="@_code" Readonly="true" />
    </BootstrapInputGroup>

    <BootstrapInputGroup class="mt-3">
        <BootstrapInputGroupLabel DisplayText="ClientHubId"></BootstrapInputGroupLabel>
        <BootstrapInput Value="@_clientHubId" Readonly="true" />
    </BootstrapInputGroup>
</DemoBlock>

<MethodTable Items="GetMethods()" />
